package itsos.dao;


import org.springframework.orm.ibatis.support.*;
import itsos.model.*;


public class CodeMasterDao extends SqlMapClientDaoSupport {

	public CodeMasterDao getCodeMasterByMasterID(long masterID)
	{
		return (CodeMasterDao) getSqlMapClientTemplate().queryForObject("CodeMaster.getCodeMasterByMasterID", masterID);
	}
	
	public void insertCodeMaster(CodeMasterDao codeMaster)
	{
		getSqlMapClientTemplate().insert("CodeMaster.insertCodeMaster", codeMaster);
	}
	
	public void updateCodeMaster(CodeMasterDao codeMaster)
	{
		getSqlMapClientTemplate().update("CodeMaster.updateCodeMaster", codeMaster);
	}
	
	
}
